﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Routing;
using System.Windows.Forms;
using Microsoft.Owin.Hosting;
using Microsoft.AspNet.SignalR;

namespace WebApiSelfByWinform
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            WebApp.Start<Startup>("http://localhost:8085");
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var form = new Form1();
            form.Show();
            form.Hide();
            Application.Run();
        }
    }
}
